package com.jz.cash.client.entity;

import com.stip.mybatis.generator.plugin.BaseModel;
import java.io.Serializable;
import java.util.Date;

public class TableRecord extends BaseModel<Long> implements Serializable {
    private Long id;

    private Long tableId;

    private Long openStageEmployeeId;

    private Date openStageDate;

    private Date closeDate;

    private Integer state;

    private Long countRoleId;

    private String remark;

    private Long creator;

    private Date createdDate;

    private Long lastModifier;

    private Date lastModifyDate;

    private Integer markForDelete;

    private Date changeDate;

    private Long changeEmployeeId;

    private Long changeTableId;

    private Date changeTableDate;

    private String customPhone;

    private Integer customCount;

    private String operated;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public Long getOpenStageEmployeeId() {
        return openStageEmployeeId;
    }

    public void setOpenStageEmployeeId(Long openStageEmployeeId) {
        this.openStageEmployeeId = openStageEmployeeId;
    }

    public Date getOpenStageDate() {
        return openStageDate;
    }

    public void setOpenStageDate(Date openStageDate) {
        this.openStageDate = openStageDate;
    }

    public Date getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(Date closeDate) {
        this.closeDate = closeDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getCountRoleId() {
        return countRoleId;
    }

    public void setCountRoleId(Long countRoleId) {
        this.countRoleId = countRoleId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Long getLastModifier() {
        return lastModifier;
    }

    public void setLastModifier(Long lastModifier) {
        this.lastModifier = lastModifier;
    }

    public Date getLastModifyDate() {
        return lastModifyDate;
    }

    public void setLastModifyDate(Date lastModifyDate) {
        this.lastModifyDate = lastModifyDate;
    }

    public Integer getMarkForDelete() {
        return markForDelete;
    }

    public void setMarkForDelete(Integer markForDelete) {
        this.markForDelete = markForDelete;
    }

    public Date getChangeDate() {
        return changeDate;
    }

    public void setChangeDate(Date changeDate) {
        this.changeDate = changeDate;
    }

    public Long getChangeEmployeeId() {
        return changeEmployeeId;
    }

    public void setChangeEmployeeId(Long changeEmployeeId) {
        this.changeEmployeeId = changeEmployeeId;
    }

    public Long getChangeTableId() {
        return changeTableId;
    }

    public void setChangeTableId(Long changeTableId) {
        this.changeTableId = changeTableId;
    }

    public Date getChangeTableDate() {
        return changeTableDate;
    }

    public void setChangeTableDate(Date changeTableDate) {
        this.changeTableDate = changeTableDate;
    }

    public String getCustomPhone() {
        return customPhone;
    }

    public void setCustomPhone(String customPhone) {
        this.customPhone = customPhone == null ? null : customPhone.trim();
    }

    public Integer getCustomCount() {
        return customCount;
    }

    public void setCustomCount(Integer customCount) {
        this.customCount = customCount;
    }

    public String getOperated() {
        return operated;
    }

    public void setOperated(String operated) {
        this.operated = operated == null ? null : operated.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tableId=").append(tableId);
        sb.append(", openStageEmployeeId=").append(openStageEmployeeId);
        sb.append(", openStageDate=").append(openStageDate);
        sb.append(", closeDate=").append(closeDate);
        sb.append(", state=").append(state);
        sb.append(", countRoleId=").append(countRoleId);
        sb.append(", remark=").append(remark);
        sb.append(", creator=").append(creator);
        sb.append(", createdDate=").append(createdDate);
        sb.append(", lastModifier=").append(lastModifier);
        sb.append(", lastModifyDate=").append(lastModifyDate);
        sb.append(", markForDelete=").append(markForDelete);
        sb.append(", changeDate=").append(changeDate);
        sb.append(", changeEmployeeId=").append(changeEmployeeId);
        sb.append(", changeTableId=").append(changeTableId);
        sb.append(", changeTableDate=").append(changeTableDate);
        sb.append(", customPhone=").append(customPhone);
        sb.append(", customCount=").append(customCount);
        sb.append(", operated=").append(operated);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TableRecord other = (TableRecord) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        return result;
    }
}